/* 
  用户端页面
*/

// 用户端
export const user = resolve => {
  require.ensure(["../User.vue"], () => {
    resolve(require("../User.vue"));
  });
};

export const home = resolve => {
  require.ensure(["../views/home/index.vue"], () => {
    resolve(require("../views/home/index.vue"));
  });
};
export const home0 = resolve => {
  require.ensure(["../views/home/home0/index.vue"], () => {
    resolve(require("../views/home/home0/index.vue"));
  });
};
// 预约
export const reservation = resolve => {
  require.ensure(["../views/home/reservation/index.vue"], () => {
    resolve(require("../views/home/reservation/index.vue"));
  });
};
// 门店详情
export const storeIndex = resolve => {
  require.ensure(["../views/store/store-index.vue"], () => {
    resolve(require("../views/store/store-index.vue"));
  });
};
// 选择门店
export const storeSelect = resolve => {
  require.ensure(["../views/store/store-selecter.vue"], () => {
    resolve(require("../views/store/store-selecter.vue"));
  });
};

/* 

  咨询师端
*/
export const beautician = resolve => {
  require.ensure(["../Beautician.vue"], () => {
    resolve(require("../Beautician.vue"));
  });
};

export const beauticianHome = resolve => {
  require.ensure(["../views/beautician/home/home.vue"], () => {
    resolve(require("../views/beautician/home/home.vue"));
  });
};

export const beauticianFinishInfo = resolve => {
  require.ensure(["../views/beautician/home/home/finish-info.vue"], () => {
    resolve(require("../views/beautician/home/home/finish-info.vue"));
  });
};
export const beauticianDaily = resolve => {
  require.ensure(["../views/beautician/home/Daily.vue"], () => {
    resolve(require("../views/beautician/home/Daily.vue"));
  });
};
export const beauticianMonthly = resolve => {
  require.ensure(["../views/beautician/home/Monthly.vue"], () => {
    resolve(require("../views/beautician/home/Monthly.vue"));
  });
};
export const stock = resolve => {
  require.ensure(["../views/beautician/home/Stock.vue"], () => {
    resolve(require("../views/beautician/home/Stock.vue"));
  });
};
export const staffStock = resolve => {
  require.ensure(["../views/beautician/home/Stock/StaffStock.vue"], () => {
    resolve(require("../views/beautician/home/Stock/StaffStock.vue"));
  });
};

export const beauticianUser = resolve => {
  require.ensure(["../views/beautician/home/User.vue"], () => {
    resolve(require("../views/beautician/home/User.vue"));
  });
};
export const reservationSelectItem = resolve => {
  require.ensure(["../views/home/reservation/item-select.vue"], () => {
    resolve(require("../views/home/reservation/item-select.vue"));
  });
};
export const reservationSelectStore = resolve => {
  require.ensure(["../views/home/reservation/store-select.vue"], () => {
    resolve(require("../views/home/reservation/store-select.vue"));
  });
};


